package com.k2091.washcar.service.impl;

import com.k2091.washcar.entity.ServiceType;
import com.k2091.washcar.mapper.ServiceTypeMapper;
import com.k2091.washcar.service.IServiceTypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2021-06-01
 */
@Service
public class ServiceTypeServiceImpl extends ServiceImpl<ServiceTypeMapper, ServiceType> implements IServiceTypeService {
    @Autowired
    private ServiceTypeMapper mapper;

    @Override
    public List<ServiceType> selectAll() {
        return mapper.selectAll() ;
    }
    @Override
    public ServiceType selectById(Long id) {
        return mapper.selectById(id);
    }
}
